package MetroLab.Train;

import MetroLab.Path.*;
import javax.media.j3d.*;
import javax.vecmath.*;

/**
 *
 * @author plus
 */
public class Train_AC01 extends Train{

    public Train_AC01(Rail Rail) {
        super(new TrainDesc("AC01", "SIEMENS","1996年1号线向西门子订购的交流电驱动列车",
                TrainDesc.TYPE_A, 8, 1),0,false, Rail);
        //test codes
        
    };

    @Override
    void initTrain() {
        Carriages=new Carriage[]{
            new Carriage(this,0,new Point2d(6,21.7),"Train.AC01.A","Train.AC01.Bogie"),
            new Carriage(this,24.1,new Point2d(3.5,19.2),"Train.AC01.B","Train.AC01.Bogie"),
            new Carriage(this,46.7,new Point2d(3.5,19.2),"Train.AC01.C","Train.AC01.Bogie"),
            new Carriage(this,69.2,new Point2d(3.5,19.2),"Train.AC01.B","Train.AC01.Bogie"),
            new Carriage(this,91.8,new Point2d(3.5,19.2),"Train.AC01.C","Train.AC01.Bogie"),
            new Carriage(this,114.3,new Point2d(3.5,19.2),"Train.AC01.Cr","Train.AC01.Bogie"),
            new Carriage(this,136.9,new Point2d(3.5,19.2),"Train.AC01.Br","Train.AC01.Bogie"),
            new Carriage(this,159.5,new Point2d(2.7,18.4),"Train.AC01.Ar","Train.AC01.Bogie")
        };
    }

}
